package com.sunwayworld.basemodule.coredata.pjproduct.resource;

import com.sunwayworld.basemodule.coredata.pjproduct.bean.LimsProductConditionBean;
import com.sunwayworld.basemodule.coredata.pjproduct.bean.MapDTO;
import com.sunwayworld.basemodule.coredata.pjproduct.service.LimsProductConditionService;
import com.sunwayworld.framework.data.page.Page;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.resource.GenericResource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping("/secure/basemodule/coredata/product-conditions")
public interface LimsProductConditionResource extends GenericResource<LimsProductConditionService, LimsProductConditionBean, Long> {

    @RequestMapping(value = "/queries/columns" ,method = RequestMethod.POST)
    Page<MapDTO> queryFields(RestJsonWrapperBean wrapper);
}
